package com.itheima.reggie.common;

/**
 * @author kabuda
 * @create 2022-09-04 17:41
 */
public class BaseContext {
    private static ThreadLocal<Long> threadLocal=new ThreadLocal<>();

    public static void set(Long empId){
         threadLocal.set(empId);
    }
    public static Long get(){
       return threadLocal.get();
    }

}
